function mat = GnrUC( row,col,pro )
mat = randsrc(row,col,[0,1;1-pro,pro]);
% for n = 1:row
%     if ~any(mat(n,:))
%         mat(n,fix(rand(1)*col+1)) = 1;
%     end
% end
for n = 1:col
    if ~any(mat(:,n))
        mat(fix(rand(1)*row)+1,n) = 1;
    end
end
end

